package com.lwj.liwanjia.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/10/1.
 */

public class GwcBean {

    /**
     * state : 1
     * message : null
     * data : [{"shopInfo":{"shopImage":"http://101.132.69.99/images/3.jpg","shopInfoId":8,"shopName":"利万嘉肉类超市"},"goods":[{"goodsImg":"http://101.132.69.99/images/1.jpg","allPrice":45,"commodityNum":3,"commodityCode":"3","shopInfoId":8,"commodityType":"超市","goodsInfo":"选自欧洲进口牛排","commodityName":"菲力牛排"},{"goodsImg":"http://101.132.69.99/images/1.jpg","allPrice":60,"commodityNum":3,"commodityCode":"4","shopInfoId":8,"commodityType":"超市","goodsInfo":"选自欧洲进口牛排","commodityName":"牛腿"}]},{"shopInfo":{"shopImage":"http://101.132.69.99/images/3.jpg","shopInfoId":9,"shopName":"利万嘉肉类超市含类型"},"goods":[{"goodsImg":"http://101.132.69.99/images/1.jpg","allPrice":60,"commodityNum":1,"commodityCode":"9","shopInfoId":8,"commodityType":"超市","goodsInfo":"瘦弱的小猪","commodityName":"利万嘉猪肉"}]},{"shopInfo":{"shopImage":"http://101.132.69.99/images/3.jpg","shopInfoId":15,"shopName":"利万嘉商城"},"goods":[{"goodsImg":"http://101.132.69.99/images/1.jpg","allPrice":20,"commodityNum":2,"commodityCode":"3","shopInfoId":15,"goodsInfo":"好吃你就多吃点","commodityName":"好吃点"}]}]
     */

    private int state;
    private Object message;
    private List<DataBean> data;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * shopInfo : {"shopImage":"http://101.132.69.99/images/3.jpg","shopInfoId":8,"shopName":"利万嘉肉类超市"}
         * goods : [{"goodsImg":"http://101.132.69.99/images/1.jpg","allPrice":45,"commodityNum":3,"commodityCode":"3","shopInfoId":8,"commodityType":"超市","goodsInfo":"选自欧洲进口牛排","commodityName":"菲力牛排"},{"goodsImg":"http://101.132.69.99/images/1.jpg","allPrice":60,"commodityNum":3,"commodityCode":"4","shopInfoId":8,"commodityType":"超市","goodsInfo":"选自欧洲进口牛排","commodityName":"牛腿"}]
         */

        private ShopInfoBean shopInfo;
        private List<GoodsBean> goods;

        public ShopInfoBean getShopInfo() {
            return shopInfo;
        }

        public void setShopInfo(ShopInfoBean shopInfo) {
            this.shopInfo = shopInfo;
        }

        public List<GoodsBean> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }

        public static class ShopInfoBean {
            /**
             * shopImage : http://101.132.69.99/images/3.jpg
             * shopInfoId : 8
             * shopName : 利万嘉肉类超市
             */

            private String shopImage;
            private int shopInfoId;
            private String shopName;
            private String dianpuCheck = "false";

            public String getDianpuCheck() {
                return dianpuCheck;
            }

            public void setDianpuCheck(String dianpuCheck) {
                this.dianpuCheck = dianpuCheck;
            }


            public String getShopImage() {
                return shopImage;
            }

            public void setShopImage(String shopImage) {
                this.shopImage = shopImage;
            }

            public int getShopInfoId() {
                return shopInfoId;
            }

            public void setShopInfoId(int shopInfoId) {
                this.shopInfoId = shopInfoId;
            }

            public String getShopName() {
                return shopName;
            }

            public void setShopName(String shopName) {
                this.shopName = shopName;
            }
        }

        public static class GoodsBean {
            /**
             * goodsImg : http://101.132.69.99/images/1.jpg
             * allPrice : 45.0
             * commodityNum : 3
             * commodityCode : 3
             * shopInfoId : 8
             * commodityType : 超市
             * goodsInfo : 选自欧洲进口牛排
             * commodityName : 菲力牛排
             */

            private String goodsImg;
            private double allPrice;
            private double price;
            private int commodityNum;
            private int shopInfoId;
            private String commodityCode;
            private String commodityType;
            private String goodsInfo;
            private String commodityName;
            private String shangpinCheck = "false";

            public String getShangpinCheck() {
                return shangpinCheck;
            }

            public void setShangpinCheck(String shangpinCheck) {
                this.shangpinCheck = shangpinCheck;
            }

            public String getGoodsImg() {
                return goodsImg;
            }

            public void setGoodsImg(String goodsImg) {
                this.goodsImg = goodsImg;
            }

            public double getAllPrice() {
                return allPrice;
            }

            public void setAllPrice(double allPrice) {
                this.allPrice = allPrice;
            }


            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public int getCommodityNum() {
                return commodityNum;
            }

            public void setCommodityNum(int commodityNum) {
                this.commodityNum = commodityNum;
            }

            public String getCommodityCode() {
                return commodityCode;
            }

            public void setCommodityCode(String commodityCode) {
                this.commodityCode = commodityCode;
            }

            public int getShopInfoId() {
                return shopInfoId;
            }

            public void setShopInfoId(int shopInfoId) {
                this.shopInfoId = shopInfoId;
            }

            public String getCommodityType() {
                return commodityType;
            }

            public void setCommodityType(String commodityType) {
                this.commodityType = commodityType;
            }

            public String getGoodsInfo() {
                return goodsInfo;
            }

            public void setGoodsInfo(String goodsInfo) {
                this.goodsInfo = goodsInfo;
            }

            public String getCommodityName() {
                return commodityName;
            }

            public void setCommodityName(String commodityName) {
                this.commodityName = commodityName;
            }
        }
    }
}
